package com.company.gobang.proto;

import com.alibaba.fastjson.JSON;

import java.util.Collection;

/**
 * 玩家列表
 *
 * @author 小流氓[176543888@qq.com]
 */
public class UserListPush extends AbstractAck {
    public UserListPush(Collection<String> nameList) {
        this.setMode(MsgType.S2C_MSG_TYPE_3);
        this.setMsg(JSON.toJSONString(nameList));
    }
}
